<?php

namespace App\Http\Controllers;


use App\Service\Baofu;
use App\Service\BaofuPay;

class TestController extends Controller
{

    //开户
    public function openAccount()
    {
        $service = new BaofuPay();
        $service->openAccount();
    }
    //获取
    public function getAccountInfo()
    {
        $service = new BaofuPay();
        $service->getAccountInfo();
    }

    /*
     * 修改
     */
    public function updateAccountInfo(){
        $service = new BaofuPay();
        $service->updateAccountInfo();
    }
    /*
     * 获取绑卡信息
     */
    public function getBindCardInfo(){
        $service = new BaofuPay();
        $service->getBindCardInfo();
    }

    /*
     * 转帐
     */
    public function  transferAccount(){
        $service = new BaofuPay();
        $service->transferAccount();
    }

    /*
     * 绑卡
     */
    public function bindCard(){
        $service = new BaofuPay();
        $service->bindCard();
    }

    /*
     * 解绑
     */
    public function unbindCard(){
        $service = new BaofuPay();
        $service->unbindCard();
    }

    /*
     * 获取交易流水
     */





}
